package com.youdianda.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youdianda.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据角色id找到用户权限
     * @return
     */
    List<SysMenu> getByRoleId(@Param("roleId") String roleId);
}
